package com.ydkj.a37e_mall.Classes.Model.Request;

import com.ydkj.a37e_mall.Classes.Model.Base.BaseReq;

import static android.R.attr.password;

/**
 * Created by Administrator on 2017/2/7.
 */

public class SearchProductReq extends BaseReq {
    private String keywords;
    private String page;
    private String page_size;
    private String sort;
    private String order;

    public String getKeywords() {
        return keywords;
    }

    public void setKeywords(String keywords) {
        this.keywords = keywords;
    }

    public String getPage() {
        return page;
    }

    public void setPage(String page) {
        this.page = page;
    }

    public String getPage_size() {
        return page_size;
    }

    public void setPage_size(String page_size) {
        this.page_size = page_size;
    }

    public String getSort() {
        return sort;
    }

    public void setSort(String sort) {
        this.sort = sort;
    }

    public String getOrder() {
        return order;
    }

    public void setOrder(String order) {
        this.order = order;
    }

    public String urlString() {
        return "product/products";
    }

    public String getSecret() {
        String string = "keywords=" + keywords + "&page=" + page + "&page_size=" + page_size
                + "&sort=" + sort + "&order=" + order;
        return string;
    }
}
